from PIL import Image,ImageFont,ImageDraw

def dome() :
    with Image.open('./images/bj.png') as im :
        im_drow = ImageDraw.Draw(im)
        font = ImageFont.truetype('C:\\Windows\\FONTS\\SIMKAI.ttf', 200)
        im_drow.multiline_text((100,400),'hello',fill=(0,255,0),font=font)
        im_drow.multiline_text((100, 600), 'word', fill=(0, 255, 0), font=font)
        im.save('./bjtext.png')

if __name__ == "__main__" :
    dome()


